<?php 
function isDev(){
	return !ey_isProduction();
}
// base url
function bu(){
	return ey_isProduction()?WP_HOME.'/wp-content/themes/'.get_stylesheet().'/dist':'http://localhost:8888/dist';
}
if ( ! function_exists( 'ey_theme_setup' ) ) :
function ey_theme_setup() {

	add_theme_support( 'post-thumbnails' );
	register_nav_menus( array(
		'primary' => esc_html__( 'Primary Menu', 'ey' ),
		'footer_menu'=>esc_html__( 'Footer Menu', 'ey' )
	) );
}
add_action( 'after_setup_theme', 'ey_theme_setup' );
endif; // ey_theme_setup
